package com.itheima.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-08-03 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="t_web_config" )
public class WebConfig  implements Serializable {

	private static final long serialVersionUID =  6650737104172081341L;

	/**
	 * 主键
	 */
	@Id
   	@Column(name = "uid" )
	private String uid;

	/**
	 * logo(文件UID)
	 */
   	@Column(name = "logo" )
	private String logo;

	/**
	 * 网站名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 介绍
	 */
   	@Column(name = "summary" )
	private String summary;

	/**
	 * 关键字
	 */
   	@Column(name = "keyword" )
	private String keyword;

	/**
	 * 作者
	 */
   	@Column(name = "author" )
	private String author;

	/**
	 * 备案号
	 */
   	@Column(name = "record_num" )
	private String recordNum;

	/**
	 * 是否开启评论(0:否 1:是)
	 */
   	@Column(name = "start_comment" )
	private String startComment;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Integer status;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 标题
	 */
   	@Column(name = "title" )
	private String title;

	/**
	 * 支付宝收款码FileId
	 */
   	@Column(name = "ali_pay" )
	private String aliPay;

	/**
	 * 微信收款码FileId
	 */
   	@Column(name = "weixin_pay" )
	private String weixinPay;

	/**
	 * github地址
	 */
   	@Column(name = "github" )
	private String github;

	/**
	 * gitee地址
	 */
   	@Column(name = "gitee" )
	private String gitee;

	/**
	 * QQ号
	 */
   	@Column(name = "qq_number" )
	private String qqNumber;

	/**
	 * QQ群
	 */
   	@Column(name = "qq_group" )
	private String qqGroup;

	/**
	 * 微信号
	 */
   	@Column(name = "we_chat" )
	private String weChat;

	/**
	 * 邮箱
	 */
   	@Column(name = "email" )
	private String email;

	/**
	 * 显示的列表（用于控制邮箱、QQ、QQ群、Github、Gitee、微信是否显示在前端）
	 */
   	@Column(name = "show_list" )
	private String showList;

	/**
	 * 登录方式列表（用于控制前端登录方式，如账号密码,码云,Github,QQ,微信）
	 */
   	@Column(name = "login_type_list" )
	private String loginTypeList;

}
